package com.hephesto.infra.security.crypto;

import com.hephesto.infra.security.crypto.model.CryptographerException;

/**
 * 
 * @author rocha
 */
public interface ICryptographer {

	/**
	 * 
	 * @param bytes
	 * @return
	 * @throws CryptographerException
	 * @author rocha
	 */
	public byte[] encrypt(byte[] bytes) throws CryptographerException;
	
	/**
	 * 
	 * @param bytes
	 * @return
	 * @throws CryptographerException
	 * @author rocha
	 */
	public byte[] decrypt(byte[] bytes) throws CryptographerException;
	
}